<?php /* Smarty version 2.6.20, created on 2009-03-27 17:07:05
         compiled from admin/edit_user.html */ ?>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['site']->template_path; ?>
scripts/cad_user.js"></script>
<form name="edit_user" method="post" action="?action=editar">
<center>
<table width="383" border="0" align="center" cellpadding="3">
	<tr>
		<td colspan="2" align="center" valign="top"><span class="style1"><strong>Editar Usuário</strong></span></td>
	</tr>
	<tr><td colspan="2" align="left">&nbsp;</td></tr>
	<tr><td colspan="2" align="left">&nbsp;</td></tr>
	<tr>
		<td width="152" align="left">Nome:</td>
		<td width="207" align="left"><input name="nome" type="text" id="nome" size="32" maxlength="80" value="<?php echo $this->_tpl_vars['myuser']->get('Usuario','nome'); ?>
" /></td>
	</tr>

    
    <?php if ($this->_tpl_vars['myuser']->get('Usuario','TipoUsuario_ID') != 2): ?>
        <tr>
            <td align="left">Matrícula:</td>
            <td align="left"><input name="matricula" type="text" id="matricula" size="32" maxlength="14" value="<?php echo $this->_tpl_vars['myuser']->get('Usuario','matricula'); ?>
" /></td>
        </tr>
     <?php endif; ?>

     <?php if ($this->_tpl_vars['myuser']->get('Usuario','TipoUsuario_ID') == 0): ?>
        <tr>
            <td align="left">Semestre:</td>
            <td align="left"><input name="semestre" type="text" id="semestre" size="32" maxlength="14" value="<?php echo $this->_tpl_vars['myuser']->get('Usuario','semestre'); ?>
" /></td>
        </tr>
    <?php endif; ?>

	<tr>
		<td align="left">CPF:</td>
		<td align="left"><input name="cpf" type="text" id="cpf" size="32" maxlength="14" value="<?php echo $this->_tpl_vars['myuser']->get('Usuario','cpf'); ?>
" /></td>
	</tr>
	<tr>
		<td align="left">Email:</td>
		<td align="left"><input name="email" type="text" id="email" size="32" maxlength="40" value="<?php echo $this->_tpl_vars['myuser']->get('Usuario','email'); ?>
" /></td>
	</tr>
	<tr>
		<td align="left">DDD:</td>
		<td align="left"><input name="telefone" type="text" id="ddd" size="32" maxlength="14" value="<?php echo $this->_tpl_vars['myuser']->get('Telefone','ddd'); ?>
" /></td>
	</tr>
	<tr>
		<td align="left">Telefone:</td>
		<td align="left"><input name="celular" type="text" id="telefone" size="32" maxlength="14" value="<?php echo $this->_tpl_vars['myuser']->get('Telefone','numero'); ?>
" /></td>
	</tr>
	<tr>
		<td colspan="2" align="left">&nbsp;</td>
	</tr>
	<tr>
		<td align="left">Rua:</td>
		<td align="left"><input name="logradouro" type="text" id="logradouro" size="32" maxlength="40" value="<?php echo $this->_tpl_vars['myuser']->get('Endereco','logradouro'); ?>
"/></td>
	</tr>
	<tr>
		<td align="left">N&uacute;mero:</td>
		<td align="left"><input name="numero" type="text" id="numero" size="32" maxlength="5" value="<?php echo $this->_tpl_vars['myuser']->get('Endereco','numero'); ?>
"/></td>
	</tr>
	<tr>
		<td align="left">Bairro:</td>
		<td align="left"><input name="bairro" type="text" id="bairro" size="32" maxlength="40" value="<?php echo $this->_tpl_vars['myuser']->get('Endereco','bairro'); ?>
" /></td>
	</tr>
	<tr>
		<td align="left">Cidade:</td>
		<td align="left"><input name="cidade" type="text" id="cidade" size="32" maxlength="40" value="<?php echo $this->_tpl_vars['myuser']->get('Endereco','cidade'); ?>
" /></td>
	</tr>
	<tr>
		<td align="left">Estado:</td>
		<td align="left"><input name="estado" type="text" id="estado" size="32" maxlength="2" value="<?php echo $this->_tpl_vars['myuser']->get('Endereco','estado'); ?>
" /></td>
	</tr>
	<tr>
		<td align="left">CEP:</td>
		<td align="left"><input name="cep" type="text" id="cep" size="32" maxlength="10" value="<?php echo $this->_tpl_vars['myuser']->get('Endereco','cep'); ?>
" /></td>
	</tr>
	<tr>
		<td colspan="2" align="left">&nbsp;</td>
	</tr>
	<tr>
		<td align="left">Login:</td>
		<td align="left"><input name="login" type="text" id="login" size="32" maxlength="20" /></td>
	</tr>
	<tr>
		<td align="left">Senha:</td>
		<td align="left"><input name="senha" type="password" id="senha" size="32" maxlength="20" /></td>
	</tr>
	<tr>
		<td align="left">Confirmar Senha:</td>
		<td align="left"><input name="senha2" type="password" id="senha2" size="32" maxlength="20" /></td>
	</tr>
	<tr>
		<td colspan="2" align="left">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="2" align="right"><input name="Reset" type="reset" id="Reset" value="Limpar" />
		<input name="Atualizar" type="submit" id="Submit" value="Atualizar" /></td>
	</tr>
</table>
</center>
</form>